﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CharacterFactory
{
    public partial class ModifyAction : Form
    {
        public string newModifyActionName = "";

        public ModifyAction()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (modifyActionNameTextBox.Text != "")
            {
                newModifyActionName = modifyActionNameTextBox.Text;
                this.Close();
            }
            else
            {
                MessageBox.Show("Please enter a valid name for your project");
            }
        }
    }
}
